package com.xc.freeapp.dao;

import java.util.Map;

import com.xc.freeapp.entity.Users;

public interface UsersDao {
       
        public  Users    login(Users user);

        public  Users    getUserInfo(String  usersid);

        public int save(Users user);

        public int updateByPrimaryKeySelective(Users record);

        public int updateByPrimaryKey(Users record);
        
        public int updateByTelephone(int businessid,String telephone,String loginwd);
        
        /**判断qq号或者微信号是否已经被绑定
         * @param paramsmap
         *             {userid,type,_val}
         * */
        public int selectifhave(Map<String, String> paramsmap);



}
